package com.itheima.supplier.inf;

import com.itheima.recharge.RechargeRequest;

/**
 * Created by 传智播客*黑马程序员.
 */
public interface SupplierTask {

    /**
     * 添加重试任务
     * @param rechargeRequest
     */
    public void addRetryTask(RechargeRequest rechargeRequest);
    /**
     * 消费请求失败重试任务
     */
    public void retryRecharge();


    /**
     * 消费远程调用失败重试任务
     */
    public void rechargeException();


    /**
     * 供应商轮转重试任务
     */
    public void roundRecharge();
    
    
}
